set(gtest_headers ${CMAKE_SOURCE_DIR}/lib/gtest/include)
set(gtest_libs ${CMAKE_SOURCE_DIR}/lib/gtest)
aux_source_directory(${CMAKE_SOURCE_DIR}/test/cases SRC_LIST)

add_executable(test_leetcode_helper main.cpp ${SRC_LIST})
target_include_directories(test_leetcode_helper PUBLIC ${gtest_headers} ${CMAKE_SOURCE_DIR}/include)
# include_directories()
target_link_directories(test_leetcode_helper PUBLIC ${gtest_libs})
target_link_libraries(test_leetcode_helper lib_leetcode_helper gtest) 